﻿﻿using System;
using System.Collections.Generic;
using System.Text;
namespace WebApplication1.DDD.Models.Entity.ConnectionString_SQLSERVER
{
    public class Cj_Users:NFinal.Struct
    {
		public System.Int32? id {get;set;}
		public System.Int32? activity_id {get;set;}
		public System.String openID {get;set;}
		public System.Int32? now_num {get;set;}
		public System.Int32? old_num {get;set;}
		public System.DateTime? add_time {get;set;}
		public System.Int32? share_num {get;set;}
		public System.Int32? zj_num {get;set;}
		public System.String memoa {get;set;}
		public System.String memob {get;set;}
		public System.String memoc {get;set;}
		#region 写Json字符串
		public override void WriteJson(System.IO.TextWriter tw)
		{
			tw.Write("{");
					tw.Write("\"id\":");
					tw.Write(id==null?"null" : id.ToString());
					tw.Write(",");
					tw.Write("\"activity_id\":");
					tw.Write(activity_id==null?"null" : activity_id.ToString());
					tw.Write(",");
					tw.Write("\"openID\":");
					tw.Write("\"");
					tw.Write(openID==null?"null":openID);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"now_num\":");
					tw.Write(now_num==null?"null" : now_num.ToString());
					tw.Write(",");
					tw.Write("\"old_num\":");
					tw.Write(old_num==null?"null" : old_num.ToString());
					tw.Write(",");
					tw.Write("\"add_time\":");
					tw.Write("\"");
					tw.Write(add_time==null?"null":add_time.ToString());
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"share_num\":");
					tw.Write(share_num==null?"null" : share_num.ToString());
					tw.Write(",");
					tw.Write("\"zj_num\":");
					tw.Write(zj_num==null?"null" : zj_num.ToString());
					tw.Write(",");
					tw.Write("\"memoa\":");
					tw.Write("\"");
					tw.Write(memoa==null?"null":memoa);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memob\":");
					tw.Write("\"");
					tw.Write(memob==null?"null":memob);
					tw.Write("\"");
					tw.Write(",");
					tw.Write("\"memoc\":");
					tw.Write("\"");
					tw.Write(memoc==null?"null":memoc);
					tw.Write("\"");
			tw.Write("}");
		}
		#endregion
    }
}
